<template>
  <div class="origin-view">
    <h1>{{ count }}</h1>
    <n-button @click="handleClick">点击</n-button>
  </div>
</template>

<script setup lang="ts">
import {ref} from 'vue';

const count = ref(0);
const handleClick = () => {
  count.value = count.value + 1;
};

</script>

<style lang="scss" scoped>

</style>